module.exports = (router) => {
  router.get("/routes", (ctx) => {
    ctx.body = [
      {
        name: "Home",
        children: [
          { name: "part1" },
          {
            name: "part2",
            children: [
              {
                name: "part3",
              },
            ],
          },
        ],
      },
      {
        name: "About",
        children: [{ name: "about" }],
      },
    ];
  });
};
